package com.sky.service;

import com.sky.entity.AddressBook;

import java.util.List;

public interface AddressBookService {
    void addAddressBook(AddressBook addressBook);

    List<AddressBook> list();

    AddressBook defaultAddreddBook();

    AddressBook getAddressBookById(Integer id);

    void update(AddressBook addressBook);

    void deleteAddressBood(Integer id);

    void updateDefault(AddressBook addressBook);
}
